package cn.cyber.wxfire.mapper;

import cn.cyber.wxfire.pojo.Student;
import cn.cyber.wxfire.vo.studentCourseVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//表示这是一个mybatis mapper类
@Mapper
@Repository
public interface StudentMapper {

    List<Student> queryStudentList();

    List<Student> findStudent(String flag,String cnum);

    void addStudent(Student student);

    void addSC(String snum,String cnum);

    void updateStudent(Student student);

    int deleteStudent(String num);

    void privateUpdateStudent(Student student);

    List<Student> loginStudent(Student student);

    List<studentCourseVo> StudentCourse(String snum);

    List<Student> StudentCourseList(String cnum);
}
